﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/SystemManagers/SystemManagers.master"
    Inherits="System.Web.Mvc.ViewPage<DiplomaWeb.Models.OrderPracticeViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%: Html.Resource("title_OrdersToPractice") %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="order">
        <% Html.RenderPartial("~/Views/SystemManagers/OrderPractice/OrderMenu.ascx", new Boolean()); %>
        <div class="order_body">
            <% Html.RenderPartial("~/Views/SystemManagers/OrderPractice/SearchPanel.ascx", Model.Search); %>
            <% Html.RenderPartial("~/Views/SystemManagers/OrderPractice/OrderList.ascx", Model.Orders); %>
            <div style="text-align: center;">
                <%=Html.Pager(null, Model.Orders.PageSize, Model.Orders.PageNumber,
                                 Model.Orders.TotalItemCount,
                                 new {controller = "OrderPractice", action = "Home"})%>
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptsContent" runat="server">
</asp:Content>
